<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    x = 1;
    b = x++
    c = ++x
    y = ++x;
    document.write(y)
</script>
</html>
<!--<script type="text/javascript" src="test.js"></script>-->